<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../lib/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<son :finfo = "msg"></son>
		</div>
		<script type="text/javascript">
			var vm = new Vue({
				el:'#app',
				data:{
					msg:'这是父组件中的信息'
				},
				methods:{},
				components:{
					son:{
						template:'<h3>这是子组件----{{finfo}}<h3>',
						props:['finfo']
					}
				}
			})
		</script>
	</body>
</html>
